<!DOCTYPE html>
<html>
<head>
    <title>修改地址</title>
    <include file='public/head'>
	<style>
		.layui-legend-size{font-size:14px !important;}
		.layui-nopadding{padding:0 !important;}
		.layui-overflow{overflow:auto;}
		.layui-nomargin{margin: 0 !important;}
		.layui-bottom{border-bottom:1px solid rgb(226, 226, 226);}
		.layui-input{height:30px !important; }
		.layui-form-search-item .layui-inline{margin-bottom: 5px;} 
		.layui-form-search-item label{margin-left: 15px;}
		.layui-table-page {padding: 7px 0px 0px;}
		.layui-field-padding{border-width: 1px;padding:0 0 5px 10px;}
	</style>
</head>
<body>
	<form method="POST" class="js-ajax-form" id="da" action="{:cmf_plugin_url('Member://admin_index/add')}">
		<table class="layui-table layui-nomargin"  style="text-align:center;">
			<input type="hidden" name="cri_id"   value="{$data.cri_id}">
			<tr>
				<td class="td-head" >上级地区</td>
				<td class="td-body">
    				<input type="text" class="layui-input"  value="{$superior}" disabled="disabled"  >
    			</td>
			</tr>
			<tr>
				<td class="td-head"><span style="color:red;">*</span>地区名称</td>
				<td class="td-body">
    				<input type="text" class="layui-input"  name="cri_name"  value="{$data.cri_name}"  placeholder="请输入新增的地区名称">
    			</td>
    		<tr>
    		<tr>
				<td class="td-head"><span style="color:red;">*</span>地区简称</td>
				<td class="td-body">
    				<input type="text" class="layui-input"  name="cri_short_name" value="{$data.cri_short_name}" placeholder="请输入新增的地区简称">
    			</td>
    		<tr>
			<tr>
				<td class="td-head"><span style="color:red;">*</span>地区代码</td>
				<td class="td-body">
					<input type="text" class="layui-input"  name="cri_code" value="{$data.cri_code}"  placeholder="请输入新增的地区代码" oninput = "value=value.replace(/[^\d]/g,'')">
				</td>
    		<tr>
			<tr>
				<td class="td-head">地区描述</td>
				<td class="td-body">
    				<input type="text" class="layui-input" name="cri_memo" value="{$data.cri_memo}"  placeholder="请输入描述">
    			</td>
    		<tr>
		</table>
	</form>

	
<include file="public/scripts"/>
</body>
</html>